#include <iostream>
#include <cstdio>

int main (void) 
{
	union {//匿名联合
		unsigned int un;
		unsigned char uc[4];
	};
	un = 0x12345678;
	for (int i = 0; i < 4; i++) {
		printf ("0x%x\n", uc[i]);
	}
	return 0;
}
